package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 报警处理对象 alert_processing
 * 
 * @author ruoyi
 * @date 2023-11-22
 */
public class AlertProcessing extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    private Integer id;

    /** 设备名称 */
    @Excel(name = "设备名称")
    private String devicename;

    /** 报警等级 */
    @Excel(name = "报警等级")
    private String alarmLevel;

    /** 启停状态 */
    @Excel(name = "启停状态")
    private String startStopState;

    /** 设备重要等级 */
    @Excel(name = "设备重要等级")
    private String equipmentImportantGrade;

    /** 报警来源 */
    @Excel(name = "报警来源")
    private String alarmSource;

    /** 设备路径 */
    @Excel(name = "设备路径")
    private String devicePath;

    /** 设备状态 */
    @Excel(name = "设备状态")
    private String deviceState;

    /** 报警状态 */
    @Excel(name = "报警状态")
    private String alarmState;

    /** 报警数据时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "报警数据时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date alarmDataTime;

    /** 关联部件 */
    @Excel(name = "关联部件")
    private String associatedUnit;

    /** 报警推送时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "报警推送时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date alarmPushTime;

    /** 报警持续时间 */
    @Excel(name = "报警持续时间")
    private String alarmDuration;

    /** 报警更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "报警更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date alarmUpdateTime;

    /** 检维修建议 */
    @Excel(name = "检维修建议")
    private String maintenanceSuggestion;

    /** 诊断结论 */
    @Excel(name = "诊断结论")
    private String diagnosis;

    /** 诊断人 */
    @Excel(name = "诊断人")
    private String diagnoser;

    /** 现场反馈时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "现场反馈时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date fieldFeedbackTime;

    /** 反馈用时 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "反馈用时", width = 30, dateFormat = "yyyy-MM-dd")
    private Date feedbackTime;

    /** 反馈人 */
    @Excel(name = "反馈人")
    private String feedbackPerson;

    /** 报警确认 */
    @Excel(name = "报警确认")
    private String alarmAcknowledge;

    /** 报警原因分析 */
    @Excel(name = "报警原因分析")
    private String alarmCauseAnalysis;

    /** 现场检查信息 */
    @Excel(name = "现场检查信息")
    private String fieldInspectionInformation;

    /** 检修人 */
    @Excel(name = "检修人")
    private String maintenancePerson;

    /** 检修时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "检修时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date maintenanceTime;

    /** 检修反馈内容 */
    @Excel(name = "检修反馈内容")
    private String overhaulFeedbackContent;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setDevicename(String devicename) 
    {
        this.devicename = devicename;
    }

    public String getDevicename() 
    {
        return devicename;
    }
    public void setAlarmLevel(String alarmLevel) 
    {
        this.alarmLevel = alarmLevel;
    }

    public String getAlarmLevel() 
    {
        return alarmLevel;
    }
    public void setStartStopState(String startStopState) 
    {
        this.startStopState = startStopState;
    }

    public String getStartStopState() 
    {
        return startStopState;
    }
    public void setEquipmentImportantGrade(String equipmentImportantGrade) 
    {
        this.equipmentImportantGrade = equipmentImportantGrade;
    }

    public String getEquipmentImportantGrade() 
    {
        return equipmentImportantGrade;
    }
    public void setAlarmSource(String alarmSource) 
    {
        this.alarmSource = alarmSource;
    }

    public String getAlarmSource() 
    {
        return alarmSource;
    }
    public void setDevicePath(String devicePath) 
    {
        this.devicePath = devicePath;
    }

    public String getDevicePath() 
    {
        return devicePath;
    }
    public void setDeviceState(String deviceState) 
    {
        this.deviceState = deviceState;
    }

    public String getDeviceState() 
    {
        return deviceState;
    }
    public void setAlarmState(String alarmState) 
    {
        this.alarmState = alarmState;
    }

    public String getAlarmState() 
    {
        return alarmState;
    }
    public void setAlarmDataTime(Date alarmDataTime) 
    {
        this.alarmDataTime = alarmDataTime;
    }

    public Date getAlarmDataTime() 
    {
        return alarmDataTime;
    }
    public void setAssociatedUnit(String associatedUnit) 
    {
        this.associatedUnit = associatedUnit;
    }

    public String getAssociatedUnit() 
    {
        return associatedUnit;
    }
    public void setAlarmPushTime(Date alarmPushTime) 
    {
        this.alarmPushTime = alarmPushTime;
    }

    public Date getAlarmPushTime() 
    {
        return alarmPushTime;
    }
    public void setAlarmDuration(String alarmDuration) 
    {
        this.alarmDuration = alarmDuration;
    }

    public String getAlarmDuration() 
    {
        return alarmDuration;
    }
    public void setAlarmUpdateTime(Date alarmUpdateTime) 
    {
        this.alarmUpdateTime = alarmUpdateTime;
    }

    public Date getAlarmUpdateTime() 
    {
        return alarmUpdateTime;
    }
    public void setMaintenanceSuggestion(String maintenanceSuggestion) 
    {
        this.maintenanceSuggestion = maintenanceSuggestion;
    }

    public String getMaintenanceSuggestion() 
    {
        return maintenanceSuggestion;
    }
    public void setDiagnosis(String diagnosis) 
    {
        this.diagnosis = diagnosis;
    }

    public String getDiagnosis() 
    {
        return diagnosis;
    }
    public void setDiagnoser(String diagnoser) 
    {
        this.diagnoser = diagnoser;
    }

    public String getDiagnoser() 
    {
        return diagnoser;
    }
    public void setFieldFeedbackTime(Date fieldFeedbackTime) 
    {
        this.fieldFeedbackTime = fieldFeedbackTime;
    }

    public Date getFieldFeedbackTime() 
    {
        return fieldFeedbackTime;
    }
    public void setFeedbackTime(Date feedbackTime) 
    {
        this.feedbackTime = feedbackTime;
    }

    public Date getFeedbackTime() 
    {
        return feedbackTime;
    }
    public void setFeedbackPerson(String feedbackPerson) 
    {
        this.feedbackPerson = feedbackPerson;
    }

    public String getFeedbackPerson() 
    {
        return feedbackPerson;
    }
    public void setAlarmAcknowledge(String alarmAcknowledge) 
    {
        this.alarmAcknowledge = alarmAcknowledge;
    }

    public String getAlarmAcknowledge() 
    {
        return alarmAcknowledge;
    }
    public void setAlarmCauseAnalysis(String alarmCauseAnalysis) 
    {
        this.alarmCauseAnalysis = alarmCauseAnalysis;
    }

    public String getAlarmCauseAnalysis() 
    {
        return alarmCauseAnalysis;
    }
    public void setFieldInspectionInformation(String fieldInspectionInformation) 
    {
        this.fieldInspectionInformation = fieldInspectionInformation;
    }

    public String getFieldInspectionInformation() 
    {
        return fieldInspectionInformation;
    }
    public void setMaintenancePerson(String maintenancePerson) 
    {
        this.maintenancePerson = maintenancePerson;
    }

    public String getMaintenancePerson() 
    {
        return maintenancePerson;
    }
    public void setMaintenanceTime(Date maintenanceTime) 
    {
        this.maintenanceTime = maintenanceTime;
    }

    public Date getMaintenanceTime() 
    {
        return maintenanceTime;
    }
    public void setOverhaulFeedbackContent(String overhaulFeedbackContent) 
    {
        this.overhaulFeedbackContent = overhaulFeedbackContent;
    }

    public String getOverhaulFeedbackContent() 
    {
        return overhaulFeedbackContent;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("devicename", getDevicename())
            .append("alarmLevel", getAlarmLevel())
            .append("startStopState", getStartStopState())
            .append("equipmentImportantGrade", getEquipmentImportantGrade())
            .append("alarmSource", getAlarmSource())
            .append("devicePath", getDevicePath())
            .append("deviceState", getDeviceState())
            .append("alarmState", getAlarmState())
            .append("alarmDataTime", getAlarmDataTime())
            .append("associatedUnit", getAssociatedUnit())
            .append("alarmPushTime", getAlarmPushTime())
            .append("alarmDuration", getAlarmDuration())
            .append("alarmUpdateTime", getAlarmUpdateTime())
            .append("maintenanceSuggestion", getMaintenanceSuggestion())
            .append("diagnosis", getDiagnosis())
            .append("diagnoser", getDiagnoser())
            .append("fieldFeedbackTime", getFieldFeedbackTime())
            .append("feedbackTime", getFeedbackTime())
            .append("feedbackPerson", getFeedbackPerson())
            .append("alarmAcknowledge", getAlarmAcknowledge())
            .append("alarmCauseAnalysis", getAlarmCauseAnalysis())
            .append("fieldInspectionInformation", getFieldInspectionInformation())
            .append("maintenancePerson", getMaintenancePerson())
            .append("maintenanceTime", getMaintenanceTime())
            .append("overhaulFeedbackContent", getOverhaulFeedbackContent())
            .toString();
    }
}
